]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
overviewControls: make dash private
authorCosimo Cecchi <cosimoc@gnome.org>
Fri, 15 Feb 2013 23:26:24 +0000 (18:26 -0500)
committerCosimo Cecchi <cosimoc@gnome.org>
Sat, 16 Feb 2013 04:47:12 +0000 (23:47 -0500)
https://bugzilla.gnome.org/show_bug.cgi?id=693924

js/ui/overviewControls.js

index 495731a90084c1b1ecea68f560c982de9b111188..dce5ca1a54c53d8ebb4ed3b3cbe19c75e3d32b4c 100644 (file)
@@ -214,16 +214,16 @@ const DashSlider = new Lang.Class({
 
         this.layout.slideDirection = SlideDirection.LEFT;
 
-        this.dash = dash;
+        this._dash = dash;
 
         // SlideLayout reads the actor's expand flags to decide
         // whether to allocate the natural size to its child, or the whole
         // available allocation
-        dash.actor.x_expand = true;
-        dash.actor.y_expand = true;
-        this.actor.add_actor(this.dash.actor);
+        this._dash.actor.x_expand = true;
+        this._dash.actor.y_expand = true;
+        this.actor.add_actor(this._dash.actor);
 
-        this.dash.connect('icon-size-changed', Lang.bind(this, this.updateSlide));
+        this._dash.connect('icon-size-changed', Lang.bind(this, this.updateSlide));
     },
 
     getSlide: function() {